package com.liu.yubi.model.dto.user;

import java.io.Serializable;

import com.liu.yubi.model.entity.User;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户更新请求
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserUpdateRequest extends User implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 用户昵称
     */
    private String userName;

    /**
     * 用户角色：user/admin/ban
     */
    private String userRole;

    /**
     * 头像
     */
    private String Avatar;

    private static final long serialVersionUID = 1L;
}